<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<h1>Users List</h1>

	<table border="1" width="90%">
		<tr>
			<th>Id</th>
			<th>Name</th>
			<th>Password</th>
			<th>Email</th>
			<th>Sex</th>
			<th>Country</th>
			<th>Edit</th>
			<th>Delete</th>
		</tr>
		<s:iterator value="employees">
		<tr>
			<td><s:property value="id"></s:property></td>
			<td><s:property value="name"></s:property></td>
			<td><s:property value="password"></s:property></td>
			<td><s:property value="email"></s:property></td>
			<td><s:property value="sex"></s:property></td>
			<td><s:property value="country"></s:property></td>
			<td><s:a action="EditForm"><s:param name="id" value="id"/>Edit</s:a></td>
			<td><a href="Delete.action?id=${id }">Delete</a></td>
		</tr>
		</s:iterator>
	</table>
	<s:a action="index">Add Employee</s:a>
</body>
</html>
